package com.yohann.designPattern.bridge.phone;

import com.yohann.designPattern.bridge.brand.Brand;

/**
 * <p>
 * 折叠手机
 * </p>
 *
 * @author Yohann
 * @since 2021/2/7 13:56
 */
public class FoldedPhone extends Phone {
    public FoldedPhone(Brand brand) {
        super(brand);
    }

    @Override
    public void call() {
        System.out.print("Folded-");
        super.call();
    }

    @Override
    public void open() {
        System.out.print("Folded-");
        super.open();
    }

    @Override
    public void close() {
        System.out.print("Folded-");
        super.close();
    }
}